package org.eden.rpc.common.enumerate;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ErrorCode {

    UNKNOWN_PROTOCOL("不认识的协议包"),
    UNKNOWN_PACKAGE_TYPE("不认识的数据包"),
    UNKNOWN_SERIALIZER("不认识的序列化器"),

    SERVICE_HAS_BEEN_REGISTERED("服务已经被注册"),
    SERVICE_NOT_IMPLEMENT_ANY_INTERFACE("服务未实现任何接口"),
    SERVICE_NOT_FOUND("服务不存在"),
    ;

    private final String msg;
}
